package com.sanyang.logistics.sch.dao;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sanyang.logistics.pojo.DriverDim;
import com.sanyang.logistics.pojo.OrderStatus;
import com.sanyang.logistics.pojo.OwnerTypeDim;
import com.sanyang.logistics.pojo.ScheduleType;
import com.sanyang.logistics.pojo.Sysorders;
import com.sanyang.logistics.pojo.ThirdParty;
import com.sanyang.logistics.pojo.TruckDim;
import com.sanyang.logistics.sch.mapper.SysorderMapper;

@Repository("SysordersDao")
public class SysordersDaolmp implements SysorderDao {

	@Autowired
	private SysorderMapper mapper;
	
	
	@Override
	public List<Sysorders> sysorderall(Sysorders sysorders) {
		List<Sysorders> sysorderall = mapper.sysorderall(sysorders);
		return sysorderall;
	}


	@Override
	public void sysorderdele(Integer oid) {
		mapper.sysorderdele(oid);
		
	}


	@Override
	public List<OrderStatus> order_statusall() {
		List<OrderStatus> order_statusall = mapper.order_statusall();
		return order_statusall;
	}


	@Override
	public List<TruckDim> truck_dimall(TruckDim truckDim) {
		List<TruckDim> truck_dimall = mapper.truck_dimall(truckDim);
		return truck_dimall;
	}


	@Override
	public List<DriverDim> driver_dimall(DriverDim driverDim) {
		List<DriverDim> driver_dimall = mapper.driver_dimall(driverDim);
		return driver_dimall;
	}


	@Override
	public List<ThirdParty> thirdpartyall(ThirdParty thirdParty) {
		List<ThirdParty> thirdpartyall = mapper.thirdpartyall(thirdParty);
		return thirdpartyall;
	}


	@Override
	public List<OwnerTypeDim> owner_type_dimall() {
		List<OwnerTypeDim> owner_type_dimall = mapper.owner_type_dimall();
		return owner_type_dimall;
	}




}
